﻿@model global::HtmlHelper.Models.Person
@using HtmlHelper.Helper

@{
    ViewBag.Title = "Index";
    ViewBag.dt = "123455";
}

<h2>Index</h2>
@Html.StHelper("<input>")<br />
@Html.Editor("Sno")

@Html.BeginForm()
@Html.CheckBox("man", false)<br />
@Html.Hidden("_hidCode", "0101")<br />
@Html.RadioButton("apple", "apple", true)<br />
@Html.Password("pwd", "123456")<br />
@Html.TextArea("area", "A", 10, 10, "222")<br />
@Html.TextBox("tb", "333tb")<br/>
@Html.TextBox("dt")<br/>

@Html.DropDownList("dp",new []{new SelectListItem(){Selected = false,Text = "AA",Value = "23"},new SelectListItem(){Selected = false,Text = "BB",Value = "24"}, },"select")<br/>
@Html.DropDownList("dp2", new SelectList(new[] {"A", "C"}))<br/>
@Html.DropDownList("dpM",new MultiSelectList(new []{"FF","HH"}))<br/>
@Html.ListBox("lb",new MultiSelectList(new []{"GG","D"}))<br/>
@{ Html.EndForm(); }

